/**
 * Created by Administrator on 2017/4/23.
 */
$(document).ready(
    function(){
        var slive="go_to_left";
        var point=0;
        function showImage(){
            if(point==-2700){
                slive="go_to_right";
            }else if(point==0){
                slive="go_to_left";
            }
            if(slive="go_to_left"){
                $(".img-ct").animate({left:point},500);
                point-=900;
            }else if(slive="go_to_right"){
                $(".img-ct").animate({left:point},500);
                point+=900;
            }
        }
    }
)
setInterval(showImage,500);
$(". bullet>li").each(function(index,element){
    $(this).mouseover(functio(e){
        ${".img-ct}.animate({left:-900*index},500);
    });
});